﻿using GPS.DataAccessLayer;
using PagedList;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GPS.ENTITYS
{
    public class ViewModelKetQuaTotNghiep
    {
        public int? Page { get; set; }
        public string pDVGTVT_MA { get; set; }
        public string pKH_MA { get; set; }
        public string pQD_ID { get; set; }
        public IPagedList<CrudmodelKetQuaTotNghiep> SearchResults { get; set; }
        public string ExportButton { get; set; }
        public string ddlValueIn { get; set; }
    }

    public class CrudmodelKetQuaTotNghiep
    {
        public string STT { get; set; }
        public string DTTN_KQTN_DVGTVT_MA { get; set; }
        public string HV_SBD { get; set; }
        public string HV_HOTEN { get; set; }
        public string HV_NGAYSINH { get; set; }
        public string HV_NOITT { get; set; }
        public string DTTN_KQTN_LT { get; set; }
        public string DTTN_KQTN_TH { get; set; }
        public string DTTN_KQTN_TD { get; set; }
        public string DTTN_KQTN_CC { get; set; }
        public string HV_KETQUA { get; set; }

        //[DisplayFormat(DataFormatString = "{0:n2}", ApplyFormatInEditMode = true)]
        [DisplayFormat(DataFormatString = "{0:0.00}", ApplyFormatInEditMode = true)]
        public decimal? DTTN_KQTN_TBC { get; set; }

        [DisplayFormat(DataFormatString = "{0:0.00}", ApplyFormatInEditMode = true)]
        public decimal? DTTN_KQTN_TKKH { get; set; }

        [DisplayFormat(DataFormatString = "{0:0.00}", ApplyFormatInEditMode = true)]
        public decimal? DTTN_KQTN_TB { get; set; }

        public string KH_TEN { get; set; }

    }
}
